package cn.acmenms.po.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: PaginationResult
 * @Description: 分页结果封装
 * @author: 神奇的鸭鸭
 * @Date: 2017/12/28 9:44
 */
public class PaginationResult<T> {

    private SimplePage page;
    private List<T> list = new ArrayList<T>();

    public PaginationResult(SimplePage page, List<T> list) {
        this.page = page;
        this.list = list;
    }

    public SimplePage getPage() {
        return page;
    }

    public void setPage(SimplePage page) {
        this.page = page;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}